const express = require("express");
const { Article, Tags } = require("../model"); 
const router = express.Router();

router.get("/", async function (req, res, next) {
  try {
    res.render("index", { articles:[]}); 
  } catch (error) {
    res.status(500).send("Server Error");
  }
});

module.exports = router;
